package net.sxnic.jhitem.itemssmb;

import java.util.List;

import net.sxnic.jhitem.itemssmb.ItemSsmb;
import net.sxnic.jhitem.itemssmb.dao.ItemSsmbDao;
import net.sxinfo.core.spring25.Dao;
import net.sxinfo.core.spring25.DefaultManager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("itemSsmbManager")
public class DefaultItemSsmbManager extends DefaultManager<ItemSsmb,ItemSsmbDao,String>
		implements ItemSsmbManager{

	@Autowired
	private ItemSsmbDao itemSsmbDao;
	@Override
	protected Dao<ItemSsmb, String> getEntityDao() {
		return itemSsmbDao;
	}
	
	/**
	 * @Description: 根据主表id查询项目分阶段实施目标表
	 * @param baseinfoId 主表id
	 * @return 项目分阶段实施目标list
	 */
	public List<ItemSsmb> findListByBaseinfoId(String baseinfoId)
	{
		return itemSsmbDao.findListByBaseinfoId(baseinfoId);
	}
}
